﻿@page "/{Year}/{Month}/{Slug}"
@model IndexModel

@{
    ViewData["Title"] = Model?.Current?.Title;
}

@section Headers{
    <link href="~/css/picswiper.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="~/css/blogpost.css"/>
    <link rel="stylesheet" href="~/css/prism.css"/>
    <link rel="stylesheet" href="~/css/bootstrap.css"/>
    <link rel="stylesheet" href="~/css/comment.css"/>
}

@await Html.PartialAsync("_Details", Model?.Current)

@section Scripts
{
    <script src="~/js/picswiper.min.js"></script>
    <script src="~/js/side-tab.js"></script>
    <script src="~/js/like.js"></script>
    <script src="~/js/prism.js"></script>
    <script src="~/js/bootstrap.min.js"></script>
    <script src="~/js/handlebars-v4.7.7.js"></script>
    <script src="~/js/comment.js"></script>
}